/**
 * Created by mac on 2018/9/7.
 */
import styled from 'styled-components';

export const HomeWrapper = styled.div`
    width: 960px;
    height: 200px;
    margin: 40px auto;
`;


export const HomeLeft = styled.div`
    width: 640px;
    height: 200px;
    float: left;
    .banner-img {
        width: 640px;
        border-radius:5px;
        height: 270px;
    }
`;


export const HomeRight = styled.div`
    width: 270px;
    float:right;
`;

export const HotWapper = styled.div`
    width: 100%;
    height: 100px;
    margin-Top: 20px;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #f0f0f0;
`;

export const HotItem = styled.a`
    display: flex;
    margin: 0 18px 18px 0;
    height: 32px;
    background-color: #f7f7f7;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    .hot-img {
        width: 32px;
        height: 32px;
    }
    .hot-title {
        display: inline-block;
        font-size: 14px;
        margin: 0 8px 0 8px;
        line-height: 32px;
    }
`;

export const ListWapper = styled.div`
    margin-Top: 30px;
`;

export const ListWapperItem = styled.div`
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    .list-item-img {
        width: 125px;
        height: 100px;
        border-radius: 4px;
    }
`;

export const ListWapperItemInfo = styled.div`
    .title {
        margin: 3px 0 8px 0;
        font-size: 13px;
        line-height: 24px;
        color: #999;
    }
`;


export const RightTopWrapper = styled.div`
    height: 270px;
`;

export const RightTopWrapperItem = styled.div`
    height: 50px;
    margin-bottom: 6px;
    border-radius: 4px;
    .item-img {
        width: 100%;
        height: 100%;
    }
`;

export const LoadMore = styled.div`
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin-Top: 10px;
    background: gray;
    border-radius: 20px;
    color: white;
`;

export const BackTop = styled.div`
    width: 80px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    position: fixed;
    right: 30px;
    bottom: 50px;
`;
